Create Organisation Party (v1)

Creates an organisation party (no associated user) along with its origin parties.

Overview

Creates an organisation party (no associated user) along with its origin parties.

POST (/internal/v1/organisation-parties)

Request Body

Responses

201 Created

400 Bad Request

Bad request response

500 Internal Server Error

Internal server error response

Architecture

4 properties
legalName string
required

Legal name of the organisation party.

originParties array [object]
required

List of origin parties to associate with the organisation party.

1 property
organisationPartyId string
required

Identifier of the newly created organisation party.

7 properties

Bad request response

code string
Allowed values: urn:plmr:authentication:auth-orchestrator-api:INTERNAL_SERVER_ERROR urn:plmr:authentication:auth-orchestrator-api:BAD_REQUEST urn:plmr:authentication:auth-orchestrator-api:RESOURCE_UNKNOWN urn:plmr:authentication:auth-orchestrator-api:UNAUTHORIZED urn:plmr:authentication:auth-orchestrator-api:FORBIDDEN urn:plmr:authentication:auth-orchestrator-api:INVALID_PARAM urn:plmr:authentication:auth-orchestrator-api:WEB_APPLICATION urn:plmr:authentication:auth-orchestrator-api:PARTY_NOT_FOUND urn:plmr:authentication:auth-orchestrator-api:MISSING_QUERY_PARAMS urn:plmr:authentication:auth-orchestrator-api:USER_DOES_NOT_EXIST urn:plmr:authentication:auth-orchestrator-api:DOMAIN_ORIGIN_PARTY_ALREADY_EXISTS
message string
requestId string
fieldErrors array [object]
7 properties

Internal server error response

code string
Allowed values: urn:plmr:authentication:auth-orchestrator-api:INTERNAL_SERVER_ERROR urn:plmr:authentication:auth-orchestrator-api:BAD_REQUEST urn:plmr:authentication:auth-orchestrator-api:RESOURCE_UNKNOWN urn:plmr:authentication:auth-orchestrator-api:UNAUTHORIZED urn:plmr:authentication:auth-orchestrator-api:FORBIDDEN urn:plmr:authentication:auth-orchestrator-api:INVALID_PARAM urn:plmr:authentication:auth-orchestrator-api:WEB_APPLICATION urn:plmr:authentication:auth-orchestrator-api:PARTY_NOT_FOUND urn:plmr:authentication:auth-orchestrator-api:MISSING_QUERY_PARAMS urn:plmr:authentication:auth-orchestrator-api:USER_DOES_NOT_EXIST urn:plmr:authentication:auth-orchestrator-api:DOMAIN_ORIGIN_PARTY_ALREADY_EXISTS
message string
requestId string
fieldErrors array [object]